<table>
    <thead>
        <tr>
	   	    <g:sortableColumn property="id" title="Id" titleKey="workflowAction.id" />
	   	    <g:sortableColumn property="serialNumber" title="Serial Number" titleKey="workflowAction.serialNumber" />
	   	    <g:sortableColumn property="name" title="Name" titleKey="workflowAction.name" />
	   	    <th><g:message code="workflowAction.belognsToStep" default="Belogns To Step" /></th>
	   	    <th><g:message code="workflowAction.nextStep" default="Next Step" /></th>
        </tr>
    </thead>
    <tbody>
    <g:each in="${workflowActionInstanceList}" status="i" var="workflowActionInstance">
        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
            <td><g:link action="show" id="${workflowActionInstance.id}">${fieldValue(bean: workflowActionInstance, field: "id")}</g:link></td>
            <td>${fieldValue(bean: workflowActionInstance, field: "serialNumber")}</td>
            <td>${fieldValue(bean: workflowActionInstance, field: "name")}</td>
            <td>${fieldValue(bean: workflowActionInstance, field: "belognsToStep")}</td>
            <td>${fieldValue(bean: workflowActionInstance, field: "nextStep")}</td>
        </tr>
    </g:each>
    </tbody>
</table>